import Vue from 'vue'
import Vuex from 'vuex'
import state from './state.js'
import mutations from './mutations.js'
import actions from './actions.js'
import getters from './getters.js'
Vue.use(Vuex)

export default {
	install(Vue, options) {
		Vue.prototype.$store = new Vuex.Store({
			state,
			mutations,
			actions,
			getters
		})
	}
}
